package com.qk.server;

import com.qk.common.PageResult;
import com.qk.entity.Role;

import java.util.List;

public interface RoleServer {
    PageResult<Role> findRoleByList(String name, String clue, Integer page, Integer pageSize);

    void deleteById(Integer id);

    void addRole(Role role);

    Role findRoleById(Integer id);

    void updateRole(Role role);

    List<Role> findRoleAll();
}
